export function copyPropertiies(source, target) {
  for (var sourceKey in source) {
    for (var targetKey in target) {
      if (sourceKey === targetKey) {
        target[targetKey] = source[sourceKey]
      }
    }
  }
}

export function copyBean(source, target) {
  for (var sourceKey in source) {
    target[sourceKey] = source[sourceKey]
  }
}
